<!DOCTYPE html>
<html lang="en">
<head>
    <title><%- title %></title>
    <%- include common %>
</head>
<body>
    <%- include("head",{title:"login"}) %>
    <div class="container container-fluid">
        <div class="row" >
            <div class="col-md-4 col-lg-4 col-sm-4">
                <h2 class="text-info">立即登录</h2>
                <form action="/users/login"  method="POST">
                    <div class="form-group">
                        <label for="username">用户名</label>
                        <input name ="username" value="<%- username %>" id="username" type="text" class="form-control" placeholder="请输入用户名">
                    </div>
                    <div class="form-group">
                        <label for="password">密码</label>
                        <input name="password" id="password" type="password" class="form-control" placeholder="请输入密码">
                    </div>
                    <div class="form-group">
                        <a href="/login" class="link">没有账号,立即注册</a>  
                    </div>
                    <div class="form-group">
                        <button type="submit" class="btn btn-warning">登录</button>
                        <button type="reset" class="btn btn-danger">重置</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <%- include foot %>
</body>
</html>